package java44th.group.bean.admin.vo.category;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Aurhor: 11437
 * @DATE: 2022/10/12 20:54
 * @Description:
 * @Version 1.0
 */
@NoArgsConstructor
@Data
public class L1TypeVo {

    private int total;
    private int pages;
    private int limit;
    private int page;
    private List<ListDTO> list;

    public L1TypeVo(int total, int pages, int limit, int page) {
        this.total = total;
        this.pages = pages;
        this.limit = limit;
        this.page = page;
    }

    @AllArgsConstructor
    @NoArgsConstructor
    @Data
    public static class ListDTO {
        private int value;
        private String label;
    }
}
